home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Animacje, filmy i prezentacje / Modelowanie 3D / K-3D 0.6.5.0 / k3d-all-in-one-setup-0.6.5.0.exe / k3d-setup-0.6.5.0.exe / share / lsystem / tropism.ls < prev    next >
Encoding:
Text File  |  2005-02-12  |  682 b   |  18 lines

  1. # --- L-System Parser/Mutator --- Lj Lapre ----------------------------------
  2. #
  3. # This file is to show the effect of gravity on a form.
  4. # By the use of the new tropism command. First try it
  5. # with the current rules. Then try C=tFC for rule 3.
  6. #                                    ^
  7. #
  8. 36                      # recursion
  9. 10                      # basic angle
  10. 100                     # thickness
  11. #
  12. A                       # axiom
  13. #
  14. A=B>(10)A               # rule 1 : add a branch and roll 10 deg right
  15. B=[&(45)C]              # rule 2 : pitch down 45 deg and start a branch
  16. C=FC                    # rule 3 : expand a branch with a forward element
  17. @                       # end of ls
  18.